Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@DMontgomery40
DMontgomery40 / CODEX.md
Last active April 28, 2026 13:24
Ralph audit loop: Codex CLI read-only code audit runner

Ralph Audit Agent Instructions (OpenAI Codex)


Safety Notice (Customize)

If this codebase is production, handles money, or touches sensitive data: treat this audit loop as a high-risk operation. Run with least privilege, avoid exporting long-lived credentials in your shell, and keep the agent in read-only mode.


@othyn
othyn / guide.md
Last active April 28, 2026 13:22
Fix horrendously bad macOS (12.3.1 tested) SMB (Samba) performance on Unraid

Intro

Out of the box, my SMB performance on macOS 12.3.1 would top out at around 20MB/s in short ~5 second bursts, which was absolutely horrendous, slow to navigate in Finder and slugish to interact with.

Since making these changes, I now get sustained ~80-100MB/s+ and instant Finder navigation which is superb and how things should be out-of-the-box (OOTB)!

May 2023 update: As of Ventura, the SMB issues were just horribly inconsistent and hard to maintain. Something in the combination of Unraid, macOS and SMB just doesn't play nice. I ended up binning NFS/SMB all together and heading to a locally hosted Nextcloud instance for file syncing, then using SFTP/Ansible Git flow for editing files within appdata.

Sources

@arashkaffamanesh
arashkaffamanesh / vmware.md
Created January 3, 2025 11:22 — forked from ayebrian/vmware.md
VMware ESXi 8 / vCenter 8 / Workstation 17 license key 2024
@matperez
matperez / 1632823990.json
Last active April 28, 2026 13:20
Karabiner elements Russian layout
{
"title": "For Russian",
"rules": [
{
"description": "Заменить / в русской раскладке на точку",
"manipulators": [
{
"conditions": [
{
"type": "input_source_if",
@southpolesteve
southpolesteve / AGENTS.md
Created April 28, 2026 03:02
Bare Bones Memory

Session Start

At the beginning of a session:

  1. Read this file.
  2. Read ~/memory/active-projects.md.
  3. Read the last few days of session logs in ~/memory/session-logs/
  4. Read the relevant project files for the current request.

While Working